package com.imufe.chemicalenterprisedangerwarning.service;

import com.imufe.chemicalenterprisedangerwarning.entity.po.ProjectPO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.imufe.chemicalenterprisedangerwarning.entity.query.ProjectQuery;
import com.imufe.chemicalenterprisedangerwarning.entity.query.SafetySupervisionBureauQuery;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.ProjectDetailedVO;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.SafetySupervisionBureauDetailedVO;

import java.util.List;

/**
 * <p>
 * 项目 服务类
 * </p>
 *
 * @author BaiBan
 * @since 2022-09-26
 */
public interface ProjectService extends IService<ProjectPO> {

    /**
     * 项目的详细信息
     *
     * @param id 项目编号
     */
    ProjectDetailedVO detailed(Long id);

    /**
     * 企业所属项目集合
     * @param enterpriseId 企业编号
     */
    List<ProjectDetailedVO> projectList(Long enterpriseId);

    /**
     * 新增一个项目
     */
    ProjectDetailedVO create(ProjectQuery query);

    /**
     * 修改安监局信息
     */
    ProjectDetailedVO update(ProjectQuery query);
}
